﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

public partial class ajax : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        string user=Request.QueryString["username"];
        string Tips = "";
        if (!string.IsNullOrEmpty(user))
        {
            string sql1 = "select count(*) from Whir_U_Users where LoginName='" + user + "'";
            int n = (int)Whir.SQLServerDAL.DbHelperSQL.GetSingle(sql1);
            if (n > 0)
            {
                Tips = "true";
            }
            else
            {
                Tips = "false";
            }
        }

        Response.Write(Tips);
        Response.Flush();
        Response.End();
    }
}
